Xbasic
SQL::StatementParse Method
Syntax
Result_Flag as L = Parse([SQLStatement as C])
Arguments
- Result_Flag
TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).
- SQLStatement
Character
Description
Parse the SQLStatement passed (or the value previously set into the SQLStatement property).
Discussion
The .Parse() method parses the SQL_Statement string (or the value previously set into the SQL::Statement.SQLStatement property).
Example
dim stat as SQL::Statement dim sql_query as C sql_query = "SELECT * FROM Customer WHERE len(lastname) > 6" ? stat.parse(sql_query) = .T.
See Also